package me.zhengjie.modules.system.domain;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("teachaudit")
public class Teachaudit implements Serializable {

    private Long id;

    private Long teachId;

    private String content;

    private Integer state;

    private String createTime;

    private Long userId;

    private String updatedTime;

    public void copy(Teachaudit source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
